/**

 */
package com.adkfp.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.adkfp.bean.ADKManagePageBean;
import com.adkfp.bean.ADKManageRolePageBean;
import com.adkfp.dao.ADKManagePageDaoMapper;
import com.adkfp.service.IADKManagePageService;

/**
 * class name:SelectclassAction <BR>
 * class description: please write your description <BR>
 * Remark: <BR>
 * @version 1.00 2019年1月30日
 * @author ADK)zhoulin
 */
@Service("aDKManagePageService")
public class ADKManagePageServiceImpl implements IADKManagePageService{
	@Resource
	private ADKManagePageDaoMapper aDKManagePageDaoMapper; 

	@Override
	public List<ADKManagePageBean> getAllManagePage() {
		return aDKManagePageDaoMapper.getAllManagePage();
	}

	@Override
	public List<ADKManagePageBean> getManagePageByUserId(long roleId) {
		return aDKManagePageDaoMapper.getManagePageByUserId(roleId);
	}

	@Override
	public void deleteManagePageByUserId(long roleId) {
		aDKManagePageDaoMapper.deleteManagePageByUserId(roleId);		
	}

	@Override
	public void addRolesManagePage(List<ADKManageRolePageBean> rolePageList) {
		aDKManagePageDaoMapper.addRolesManagePage(rolePageList);		
	}

	@Override
	public List<ADKManagePageBean> getManagePageByUser(long userId) {
		return aDKManagePageDaoMapper.getManagePageByUser(userId);
	}

	@Override
	public void addManagePage(ADKManagePageBean managePageBean) {
		aDKManagePageDaoMapper.addManagePage(managePageBean);		
	}

	@Override
	public void delManagePageById(long id) {
		aDKManagePageDaoMapper.delManagePageById(id);		
	}

	@Override
	public void updateManagePageById(ADKManagePageBean managePageBean) {
		aDKManagePageDaoMapper.updateManagePageById(managePageBean);		
	}

}
